package com.yzjs.base;


public class RefundResponse {
    private String orderId;
    private Double orderAmount;
    private String outTradeNo;
    private String refundId;
    private String outRefundNo;

    public RefundResponse() {
    }

    public String getOrderId() {
        return this.orderId;
    }

    public Double getOrderAmount() {
        return this.orderAmount;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public String getRefundId() {
        return this.refundId;
    }

    public String getOutRefundNo() {
        return this.outRefundNo;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof RefundResponse)) {
            return false;
        } else {
            RefundResponse other = (RefundResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$orderId = this.getOrderId();
                    Object other$orderId = other.getOrderId();
                    if (this$orderId == null) {
                        if (other$orderId == null) {
                            break label71;
                        }
                    } else if (this$orderId.equals(other$orderId)) {
                        break label71;
                    }

                    return false;
                }

                Object this$orderAmount = this.getOrderAmount();
                Object other$orderAmount = other.getOrderAmount();
                if (this$orderAmount == null) {
                    if (other$orderAmount != null) {
                        return false;
                    }
                } else if (!this$orderAmount.equals(other$orderAmount)) {
                    return false;
                }

                label57: {
                    Object this$outTradeNo = this.getOutTradeNo();
                    Object other$outTradeNo = other.getOutTradeNo();
                    if (this$outTradeNo == null) {
                        if (other$outTradeNo == null) {
                            break label57;
                        }
                    } else if (this$outTradeNo.equals(other$outTradeNo)) {
                        break label57;
                    }

                    return false;
                }

                Object this$refundId = this.getRefundId();
                Object other$refundId = other.getRefundId();
                if (this$refundId == null) {
                    if (other$refundId != null) {
                        return false;
                    }
                } else if (!this$refundId.equals(other$refundId)) {
                    return false;
                }

                Object this$outRefundNo = this.getOutRefundNo();
                Object other$outRefundNo = other.getOutRefundNo();
                if (this$outRefundNo == null) {
                    if (other$outRefundNo == null) {
                        return true;
                    }
                } else if (this$outRefundNo.equals(other$outRefundNo)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof RefundResponse;
    }



    public String toString() {
        return "RefundResponse(orderId=" + this.getOrderId() + ", orderAmount=" + this.getOrderAmount() + ", outTradeNo=" + this.getOutTradeNo() + ", refundId=" + this.getRefundId() + ", outRefundNo=" + this.getOutRefundNo() + ")";
    }
}

